package com.ljfiction.book.activitys;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

import com.ljfiction.book.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class GonggaoActivity extends BaseActivity {

    @BindView(R.id.gonggao_back)
    ImageView gonggaoBack;
    @BindView(R.id.gonggao_title)
    TextView gonggaoTitle;
    @BindView(R.id.gonggao_text)
    TextView gonggaoText;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_gonggao);
        ButterKnife.bind(this);
        gonggaoTitle.setText(getIntent().getStringExtra("title"));
        gonggaoText.setText(getIntent().getStringExtra("text"));
    }

    @OnClick(R.id.gonggao_back)
    public void onViewClicked() {
        goBack();
    }
}
